package com.koalton.steward.flow.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by koalton on 2017/7/11.
 */
public class Flow {
    /**
     * ID
     */
    private Long ID;

    /**
     * 条款ID
     */
    private Integer itemID ;
    /**
     * 发生金额
     */
    private BigDecimal amount ;

    /**
     * 记录生成日期
     */
    private Date recordTime;
    /**
     * 发生日期
     */
    private Date happendDate;


    /**
     * 操作人ID
     */
    private Long recorderID;

    /**
     * 真正进行收入、支出的人
     */
    private Long flowOwnerID;

    /**
     * 备注
     */
    private String remark;

    public Long getID() {
        return ID;
    }

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Integer getItemID() {
        return itemID;
    }

    public void setItemID(Integer itemID) {
        this.itemID = itemID;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Date getHappendDate() {
        return happendDate;
    }

    public void setHappendDate(Date happendDate) {
        this.happendDate = happendDate;
    }

    public Long getRecorderID() {
        return recorderID;
    }

    public void setRecorderID(Long recorderID) {
        this.recorderID = recorderID;
    }

    public Long getFlowOwnerID() {
        return flowOwnerID;
    }

    public void setFlowOwnerID(Long flowOwnerID) {
        this.flowOwnerID = flowOwnerID;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Flow{" +
                "ID=" + ID +
                ", itemID=" + itemID +
                ", amount=" + amount +
                ", recordTime=" + recordTime +
                ", happendDate=" + happendDate +
                ", recorderID=" + recorderID +
                ", flowOwnerID=" + flowOwnerID +
                ", remark='" + remark + '\'' +
                '}';
    }
}
